/*
 * @Date: 2021-01-24 22:27:42
 * @LastEditors: zhiqinfff
 * @LastEditTime: 2021-03-27 19:27:40
 * @FilePath: /vue-wechat_auth/src/api/api.js
 */
import request from '@/utils/request'
import qs from 'qs'

/**
 */
export function gitWxConfig(params) {
  console.log(params)
  return request({
    url: '/wx/getSignature',
    method: 'post',
    data: params
  })
}
/** 获取收货地址
 */
export function getConfigAddress(params) {
  return request({
    url: '/maintain/addrInfo/addrList',
    method: 'post',
    data: params
  })
}
/** 图片上传
 */
export function upload(params) {
  return request({
    url: '/maintain/shouhouGongdan/uploadImg',
    method: 'post',
    data: params
  })
}